import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 络筒通知单
 * */
// 创建
export const productionPrdNoticeLtMachineChangeCreate = (data) => postRequest('/production/prd-notice-lt-machine-change/create', data);

// 更新
export const productionPrdNoticeLtMachineChangeUpdate = (data) => putRequest('/production/prd-notice-lt-machine-change/update', data);

// 删除
export const productionPrdNoticeLtMachineChangeDelete = (params) => deleteRequest('/production/prd-notice-lt-machine-change/delete', params);

// 获得
export const productionPrdNoticeLtMachineChangeGet = (params) => getRequest('/production/prd-notice-lt-machine-change/get', params);

// 获得分页
export const productionPrdNoticeLtMachineChangePage = (params) => getRequest('/production/prd-notice-lt-machine-change/page', params);

export const productionPrdNoticeLtMachineChangeClearComplete = (params) => postRequest('/production/prd-notice-lt-machine-change/clear-complete', params);
export const productionPrdNoticeLtMachineChangeGetMachineList = (params) => getRequest('/production/prd-notice-lt-machine-change/get-machine-list', params);

// 开台
export const productionPrdNoticeLtMachineChangeClearOpening = (query, params) => postRequest('/production/prd-notice-lt-machine-change/clear-opening', query, params);// 开台
export const productionPrdNoticeLtMachineChangeOpening = (params) => postRequest('/production/prd-notice-lt-machine-change/opening', params);// 开台
// 了机
export const productionPrdNoticeLtMachineChangeClose = (params) => postRequest('/production/prd-notice-lt-machine-change/close', params);
export const productionPrdNoticeLtMachineChangeClearClose = (query, params) => postRequest('/production/prd-notice-lt-machine-change/clear-close', params, query);
